﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using Defero.Core.DataTransferObjects;

namespace Defero.Web.Models
{    
    public class AccountModel
    {
        [Required]
        public string UserName { get; set; }

        [ReadOnly(true)]
        public string FirstName { get; set; }

        [ReadOnly(true)]
        public string LastName { get; set; }

        [Required, PasswordPropertyText]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        [ReadOnly(true)]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }

        [ReadOnly(true)]
        [DataType(DataType.ImageUrl)]
        public string Photo { get; set; }
    }
}